package lab02.test03;

import java.util.Scanner;

/**
 * Created by w on 2017/10/13.
 */
public class Test_Student {

    public static void main(String[] args) {




        Scanner sd = new Scanner(System.in);

        float computerScore = sd.nextFloat();

        float mathScore =sd.nextFloat();

        float englishScore = sd.nextFloat();


        Student onestudent = new Student();
        onestudent.max(computerScore, mathScore, englishScore);
        onestudent.mix(computerScore, mathScore, englishScore);
        System.out.println(onestudent.sum(computerScore, mathScore, englishScore));
        System.out.println(onestudent.average(computerScore, mathScore, englishScore));
    }
}
